home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 15
/
CU Amiga Magazine's Super CD-ROM 15 (1997)(EMAP Images)(GB)[!][issue 1997-10].iso
/
CUCD
/
Graphics
/
MysticView
/
source
/
LoadDTPicture.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-10-30
|
1KB
|
34 lines
#ifndef PICDT_H
#define PICDT_H 1
#include <graphics/gfx.h>
#include <graphics/displayinfo.h>
#include <datatypes/pictureclass.h>
struct Picture
{
struct BitMapHeader bmhd; /* format and infos */
struct BitMap *bmap; /* bitmap */
ULONG *palette; /* color table in LoadRGB32() format */
LONG palette_size; /* mem usage */
LONG palette_entries; /* number of colors */
ULONG display_ID; /* video mode */
UBYTE *author; /* author info */
UBYTE *copyright; /* copyright info */
UBYTE *annotation; /* other info */
LONG author_size; /* mem usage */
LONG copyright_size; /* mem usage */
LONG annotation_size; /* mem usage */
};
extern void FreePicture(struct Picture *pic);
extern LONG GetDataTypesPicture(UBYTE *file_name, struct Picture *pic, ULONG);
extern BOOL IsDataTypes(UBYTE *file_name, UBYTE *name_buff, LONG nbuff_size);
extern BOOL ViewPicture(struct Picture *pic);
extern struct Library *DataTypesBase;
#endif